package org.example.proxy.cglib;

import java.io.Serializable;
import java.util.List;

/**
 * @author : RXK
 * Date : 2021/6/3 17:07
 * Code Less Think More
 * Desc:
 */
public interface IService<T extends Serializable, PK extends Serializable> {
    T findById(PK var1);

    void save(T var1);

    void update(T var1);

    void delete(PK var1);

    void deleteByIds(PK[] var1);

    PK count();

    PK count(T var1);

    <T> List<T> search(T var1);
}
